import React, { Component} from 'react'

import { Button, Tooltip, Pagination, Table, Tag, Space, Drawer, DatePicker, Form, Input, Modal, message, Layout, List, Radio, Card, Row, Col, Upload, Tabs, Steps, Spin } from 'antd';
import { reject } from 'lodash'

class Empty extends Component {

  time_out_key = null

  componentDidMount(){
    this.time_out_key = setTimeout(() => {
      this.props.history.push('/')
    }, 1000);
  }

  componentWillUnmount(){
    this.time_out_key && clearTimeout(this.time_out_key)
  }

  render() {
    return (
      <div className="my-loading-wrap"><Spin size="large" /></div>
    )
  }
}

export default Empty